package com.tiny.service;

import io.searchbox.client.JestClient;
import io.searchbox.client.http.JestHttpClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: zhumenglong
 * @Description:
 * @Date: Created in 20:36 2018/3/14
 */
@Service("JestHttpService")
public class JestHttpService {

    @Autowired
    JestClient jestClient;

    public void connect(){
        System.out.println(jestClient.toString());

    }


}
